toObject

open fun <T> toObject(valueType: Class<T>): T?(source)

Deprecated (with error)

Replace with

import com.google.firebase.serialization.toObject
toObject<T>()

open fun <T> toObject(valueType: Class<T>, serverTimestampBehavior: DocumentSnapshot.ServerTimestampBehavior): T?(source)

Deprecated (with error)

Replace with

import com.google.firebase.serialization.toObject
toObject<T>(serverTimestampBehavior)